home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
mcu
/
cluster.arc
/
OUTPUT_C.CHG
< prev
next >
Wrap
Text File
|
1989-05-24
|
2KB
|
44 lines
FILE: output_c.chg
PURPOSE: To document the changes made to OUTPUT.C to increase the field
width used for symbols in the symbol table and cross reference
output format.
DESCRIPTION:
In the assembler symbols may be up to 16 characters in length. I tend to
create symbols of approximately 12-14 characters long. Sometimes longer and
sometimes shorter. The cross reference and the symbol table output format only
reserves 10 characters for the symbol. If the symbol is longer the output will
be hard to read. I changed 2 lines in the file OUTPUT.C to make the output
reserve 16 characters for the symbol instead of 10. This file describes the
two lines changed below.
See also the bug fix made to file FFWD.C described in the file FFWD_C.CHG,
and the change to allow semicolon's to be used as comment characters to file
AS.C described in the file AS_C.CHG.
If you have any questions for me, or if you would like me to upload the
complete source and executable files that include this change, I can be reached
at 801-778-4410. Ask for Bruce Olney.
DESCRIPTION OF CHANGES:
Line 11 was changed from this:
printf ("%-16s %04x\n",ptr->name,ptr->def);
To this:
printf ("%-10s %04x\n",ptr->name,ptr->def);
Line 27 was changed from this:
printf ("%-16s %04x *",point->name,point->def);
To this:
printf ("%-10s %04x *",point->name,point->def);